SftTree/OCX 7.0

SftTree.RowPictureAlign Property

Softel vdm, Inc.

Defines the position of the graphic displayed in an item's row header.

Deprecated - Provided for compatibility with earlier versions only - Use RowHeader.ImageHAlign and RowHeader.ImageVAlign instead

Syntax       

Get

VB.NET

Align = object.get_RowPictureAlign(ByVal ItemIndex As Integer)  As SftTreeAlignConstants

VB

Align = object.RowPictureAlign(ByVal ItemIndex As Long)  As SftTreeAlignConstants

C#.NET

SftTreeAlignConstants Align = object.get_RowPictureAlign(int ItemIndex);

VC++

enum SftTreeAlignConstants Align = object->RowPictureAlign[long ItemIndex];
enum SftTreeAlignConstants Align = object->GetRowPictureAlign(long ItemIndex);

C

HRESULT object->get_RowPictureAlign(long ItemIndex, enum SftTreeAlignConstants* Align);

Delphi

Align := object.RowPictureAlign[ItemIndex : Integer]  : TOleEnum;

Put

VB.NET

object.set_RowPictureAlign(ByVal ItemIndex As Integer, ByVal Align As SftTreeAlignConstants)

VB

object.RowPictureAlign(ByVal ItemIndex As Long) = Align  As SftTreeAlignConstants

C#.NET

void object.set_RowPictureAlign(int ItemIndex, SftTreeAlignConstants Align);

VC++

enum SftTreeAlignConstants object->RowPictureAlign[long ItemIndex] = Align;
void object->PutRowPictureAlign(long ItemIndex, enum SftTreeAlignConstants Align);

C

HRESULT object->put_RowPictureAlign(long ItemIndex, enum SftTreeAlignConstants Align);

Delphi

object.RowPictureAlign[ItemIndex : Integer] := Align  : TOleEnum;

object

A SftTree object.

ItemIndex

The zero-based item index.

Align

Defines the position of the graphic displayed in the item's row header.

One value of each of the following tables can be combined and used as Align value:

Horizontal Alignment

Value

Description

alignSftTreeLeft 

0

The graphic is on the left of the row header text.  If no horizontal alignment value is specified, this is the default.

alignSftTreeCenter

1

The graphic is centered in the row header.  The row header text is not displayed.

alignSftTreeRight 

2

The graphic is on the right of the row header text.

Vertical Alignment

Value

Description

alignSftTreeVCenter

16

The graphic is vertically centered.  If no vertical alignment value is specified, this is the default.

alignSftTreeTop

32

The graphic is aligned with the top of the available area.

alignSftTreeBottom

64

The graphic is aligned with the bottom of the available area.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use RowHeader.ImageHAlign and RowHeader.ImageVAlign instead

The RowPictureAlign property defines the position of the graphic displayed in an item's row header.

Row header graphics are defined using the RowHeader.Image property.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com